package vip.specimen.system.datasource.validation;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.UUID;

/**
 * *@Author: 余浪人
 * *@Date：2021/4/12 13:43
 * *@Email:yulangren520@Gmail.com
 * *@QQ:1368419640
 **/
@Getter
@Setter
public class SystemArticleAttributeValidation {
    @ApiModelProperty(value = "内容uuid",required = true)
    @NotNull(message = "uuid不可为空")
    private UUID uuid;
    private Boolean focus = Boolean.FALSE;
    private Boolean roll = Boolean.FALSE;
    private Boolean top = Boolean.FALSE;
    private Boolean recommend = Boolean.FALSE;
    private Boolean contribute = Boolean.FALSE;
    private Boolean other = Boolean.FALSE;
}
